package com.fottas.adware.mapper;

import com.fottas.adware.model.RmsPriviledgePromotion;
import com.fottas.adware.model.RmsPriviledgePromotionExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RmsPriviledgePromotionMapper {
    long countByExample(RmsPriviledgePromotionExample example);

    int deleteByExample(RmsPriviledgePromotionExample example);

    int deleteByPrimaryKey(Long id);

    int insert(RmsPriviledgePromotion record);

    int insertSelective(RmsPriviledgePromotion record);

    List<RmsPriviledgePromotion> selectByExample(RmsPriviledgePromotionExample example);

    RmsPriviledgePromotion selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") RmsPriviledgePromotion record, @Param("example") RmsPriviledgePromotionExample example);

    int updateByExample(@Param("record") RmsPriviledgePromotion record, @Param("example") RmsPriviledgePromotionExample example);

    int updateByPrimaryKeySelective(RmsPriviledgePromotion record);

    int updateByPrimaryKey(RmsPriviledgePromotion record);
}